import request from "@/utils/request";
// 获取文章评论
export function getCommentListByArticleId(article_id, limit, page) {
    return request({
        url: `/api/v1/article/getCommentList/${article_id}/${limit}/${page}`,
        method: "get",
    });
}
// 获取乐谱评论
export function getCommentListByMusicScoreId(music_score_id, limit, page) {
    return request({
        url: `/api/v1/musicScore/getCommentList/${music_score_id}/${limit}/${page}`,
        method: "get",
    });
}
// 获取视频评论
export function getCommentListByVideoId(video_id, limit, page) {
    return request({
        url: `/api/v1/video/getCommentList/${video_id}/${limit}/${page}`,
        method: "get",
    });
}
// 获取文档评论
export function getCommentListByDocumentId(document_id, limit, page) {
    return request({
        url: `/api/v1/document/getCommentList/${document_id}/${limit}/${page}`,
        method: "get",
    });
}
// 获取回复评论
export function getReplyCommentList(comment_id, limit, page) {
    return request({
        url: `/api/v1/comment/getReplyList/${comment_id}/${limit}/${page}`,
        method: "get",
    });
}
// 删除文章评论
export function DeleteArticleComment(data) {
    return request({
        url: `/api/v1/root/comment/deleteArticleComment`,
        method: "delete",
        data
    });
}
// 删除乐谱评论
export function DeleteMusicScoreComment(data) {
    return request({
        url: `/api/v1/root/comment/deleteMusicScoreComment`,
        method: "delete",
        data
    });
}
// 删除视频评论
export function DeleteVideoComment(data) {
    return request({
        url: `/api/v1/root/comment/deleteVideoComment`,
        method: "delete",
        data
    });
}
// 删除文档评论
export function DeleteDocumentComment(data) {
    return request({
        url: `/api/v1/root/comment/deleteDocumentComment`,
        method: "delete",
        data
    });
}
// 删除回复评论
export function DeleteReplyComment(data) {
    return request({
        url: `/api/v1/root/comment/deleteReply`,
        method: "delete",
        data
    });
}
// 批量删除文章批量
export function BatchDeleteArticleComment(data) {
    return request({
        url: `/api/v1/root/comment/batch/deleteArticleComment`,
        method: "delete",
        data
    });
}
// 批量删除文档批量
export function BatchDeleteDocumentComment(data) {
    return request({
        url: `/api/v1/root/comment/batch/deleteDocumentComment`,
        method: "delete",
        data
    });
}
// 批量删除乐谱批量
export function BatchDeleteMusicScoreComment(data) {
    return request({
        url: `/api/v1/root/comment/batch/deleteMusicScoreComment`,
        method: "delete",
        data
    });
}
// 批量删除视频批量
export function BatchDeleteVideoComment(data) {
    return request({
        url: `/api/v1/root/comment/batch/deleteVideoComment`,
        method: "delete",
        data
    });
}
// 批量回复批量
export function BatchDeleteReplyComment(data) {
    return request({
        url: `/api/v1/root/comment/batch/deleteReply`,
        method: "delete",
        data
    });
}
// 获取文章批量删除列表
export function getArticleCommentDeleteList(article_id, limit, page) {
    return request({
        url: `/api/v1/root/article/getDeletedCommentList/${article_id}/${limit}/${page}`,
        method: "get",
    });
}
// 通过评论id获取逻辑删除回复评论列表
export function getReplyCommentDeleteList(comment_id, limit, page) {
    return request({
        url: `/api/v1/root/reply/deletedReplyListByCommentId/${comment_id}/${limit}/${page}`,
        method: "get",
    });
}